# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         test02
# Description:
# Author:       98745
# Date:         2019/4/13
#-------------------------------------------------------------------------------
import os
f=open('./t3.txt','r+')
f.seek(0)
while True:
    url=f.readline()
    url=url.rstrip()
    if url=='':
        break
    else:
        print(url)
f.seek(0)
f.write('http://taobao/'+'\n')
print('-----')
print(f.readlines())